package com.loveshes;

import com.loveshes.dto.OrderInfo;

import java.util.concurrent.CompletableFuture;

/**
 * @author wangz4
 * @date 2024/12/26 17:44
 */
public interface AsyncOrderFacade {
    
    OrderInfo queryOrderByIdSync(String id);
    
    OrderInfo queryOrderByIdAsync(String id);
    
    CompletableFuture<OrderInfo> queryOrderByIdFuture(String id);
    
}
